
<div class="sideL">
    <div class="top">
        <a href="" class="logo">
            <i class="ico" ></i>
            <p>创作中心</p>
        </a>
    </div>
    <dl class="menuBox" style="margin-bottom: 200px;">
        <dt><a href="{{url('index/index')}}" id="index"><i class="home"></i>主页</a></dt>
        <dt><a href="javascript:;"><i class="make"></i>功能</a></dt>
        <dd>
            <a href="{{url('admin/index')}}" id="admin_index">管理员管理</a>
            <a href="{{url('video/index')}}" id="video_index">视频管理</a>
            <a href="{{url('report/index')}}" id="report_index">流水报表</a>
            <a href="{{url("material/materialGroup")}}" id="material_index">素材管理</a>
            <a href="{{url("scenario/index")}}" id="scenario_index">剧本管理</a>
        </dd>
    </dl>
</div>
<div class="wrapper">

    <!-- END SIDEBAR -->
    <input type="hidden" value="{{constant('__CONTROLLER_NAME__')}}" name="CONTROLLER_NAME" id="CONTROLLER_NAME">
    <input type="hidden" value="{{constant('__ACTION_NAME__')}}" name="ACTION_NAME" id="ACTION_NAME">
    <script>
        //导航栏选择
        $(function () {
            var MODULE_NAME = $("#CONTROLLER_NAME").val();
            var ACTION_NAME = $("#ACTION_NAME").val();
            if (MODULE_NAME == "index" && ACTION_NAME == "index") {
                $("#index").addClass("curr");
            } else if (MODULE_NAME == "admin") {
                $("#admin_index").addClass("curr");
            } else if (MODULE_NAME == "video") {
                $("#video_index").addClass("curr");
            } else if (MODULE_NAME == "report") {
                $("#report_index").addClass("curr");
            } else if (MODULE_NAME == "scenario") {
                $("#scenario_index").addClass("curr");
            } else if (MODULE_NAME == "material") {
                $("#material_index").addClass("curr");
            }
        });
    </script>

